home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d8 / pdriver5.arc / IBMTOKEN.DOC < prev    next >
Text File  |  1989-12-17  |  4KB  |  94 lines

  1.      
  2.        File:   IBMTOKEN.DOC
  3.        Auth:   Brian Fisher
  4.        Date:   October 3 1989
  5.      
  6.        Purp:   Notes on IBMTOKEN.COM, the 'Ethernet' packet driver
  7.                for TCP/IP and NCSA Telnet.
  8.      
  9. ========================================================================
  10.      
  11.        IBMTOKEN is an Ethernet packet driver for the IBM Token Ring
  12.        Adapter card.  The IBM Lan support program must be installed before
  13.        you use IBMTOKEN.
  14.      
  15.        CONFIG.SYS - to install the LAN Support program:
  16.      
  17.        device=C:\PCLAN\DXMA0MOD.SYS
  18.        device=C:\PCLAN\DXMC0MOD.SYS
  19.        device=C:\PCLAN\DXMT0MOD.SYS
  20.      
  21.        AUTOEXEC.BAT - to install IBMTOKEN and define NCSA config file:
  22.      
  23.        IBMTOKEN 0x61   0
  24.        SET CONFIGTEL=C:\CONFIG.TEL
  25.      
  26.      
  27.        CONFIG.TEL
  28.      
  29.        myip=xx.yy.zz.qq                # put your IP address here
  30.        netmask=255.255.255.0           # use your network mask here
  31.        hardware=packet                 # tell NCSA to use the packet driver
  32.                                        # interface
  33.        address=0                       # class for packet driver
  34.        ioaddr=0x61                     # vector given to IBMTOKEN
  35.      
  36.        mtu=1500                        # max IBMTOKEN can transmit
  37.        maxseg=1500                     # max IBMTOKEN can receive
  38.        rwin=536                        # max if NCSA can't do IP fragments
  39.      
  40.      
  41.        IBMTOKEN:
  42.      
  43.        IBMTOKEN <vector> <adapter>
  44.      
  45.        where    vector is the interrupt assigned to the packet driver
  46.                 interface
  47.      
  48.                 adapter is 0 for the first adapter card, and 1 if the
  49.                 second adapter card is to be used.
  50.      
  51.      
  52.      
  53.        When IBMTOKEN installs, the following occurs:
  54.      
  55.                1)   DIR.INITIALIZE is called to initialize the adapter.
  56.                2)   DIR.OPEN.ADAPTER is called to set up buffers for
  57.                     IBMTOKEN.
  58.                3)   RECEIVE is called to set up the receive service
  59.                     routines.
  60.                4)   DIR.STATUS is called to determine the address of the
  61.                     adapter.
  62.      
  63.                If any of these calls fails, the installation is aborted.
  64.      
  65.                IBMTOKEN may not install properly if the token ring adapter
  66.                has been in use by another program, and to closed properly.
  67.                If this is the case, reboot and run IBMTOKEN.
  68.      
  69.      
  70.        OPERATION:
  71.      
  72.        IBMTOKEN translates 'Ethernet' packet driver calls to 802.2 LLC
  73.        format packets for transmission.  Currently it supports IP and
  74.        ARP transmissions.  RARP and BOOTP probably won't work.
  75.      
  76.        IP packets are sent 'as is'.  ARP packets require a minor modification
  77.        before they are sent.  The hwr address space value must be changed from
  78.        1h to 6h.  On receive, the driver changes 6h back to 1h.  The size (60
  79.        is min for Ether) must be set to 28 or some token hosts won't accept
  80.        the transmission.
  81.      
  82.        Receive packets smaller than 60 bytes are rounded up so the upper
  83.        level will accept them.
  84.      
  85.        Token Ring source routing.  When the upper level call back routine
  86.        accepts a packet, its RIF is recorded in a table interal to IBMTOKEN.
  87.        When IBMTOKEN sees the destination address requires a RIF, the
  88.        info is pulled from the table and added to the MAC header for transmit.
  89.      
  90.        IBMTOKEN can handle a maximum of 32 source route entries.  One
  91.        default entry is present for the 'broadcast' address.  The first
  92.        source route received for an address is assumed to be the shortest.
  93.        Subsequent source routes from the same host are ignored.
  94.